package com.example.demo.entity;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class ProjectExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public ProjectExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andProIdIsNull() {
            addCriterion("PRO_ID is null");
            return (Criteria) this;
        }

        public Criteria andProIdIsNotNull() {
            addCriterion("PRO_ID is not null");
            return (Criteria) this;
        }

        public Criteria andProIdEqualTo(Integer value) {
            addCriterion("PRO_ID =", value, "proId");
            return (Criteria) this;
        }

        public Criteria andProIdNotEqualTo(Integer value) {
            addCriterion("PRO_ID <>", value, "proId");
            return (Criteria) this;
        }

        public Criteria andProIdGreaterThan(Integer value) {
            addCriterion("PRO_ID >", value, "proId");
            return (Criteria) this;
        }

        public Criteria andProIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("PRO_ID >=", value, "proId");
            return (Criteria) this;
        }

        public Criteria andProIdLessThan(Integer value) {
            addCriterion("PRO_ID <", value, "proId");
            return (Criteria) this;
        }

        public Criteria andProIdLessThanOrEqualTo(Integer value) {
            addCriterion("PRO_ID <=", value, "proId");
            return (Criteria) this;
        }

        public Criteria andProIdIn(List<Integer> values) {
            addCriterion("PRO_ID in", values, "proId");
            return (Criteria) this;
        }

        public Criteria andProIdNotIn(List<Integer> values) {
            addCriterion("PRO_ID not in", values, "proId");
            return (Criteria) this;
        }

        public Criteria andProIdBetween(Integer value1, Integer value2) {
            addCriterion("PRO_ID between", value1, value2, "proId");
            return (Criteria) this;
        }

        public Criteria andProIdNotBetween(Integer value1, Integer value2) {
            addCriterion("PRO_ID not between", value1, value2, "proId");
            return (Criteria) this;
        }

        public Criteria andProNameIsNull() {
            addCriterion("PRO_NAME is null");
            return (Criteria) this;
        }

        public Criteria andProNameIsNotNull() {
            addCriterion("PRO_NAME is not null");
            return (Criteria) this;
        }

        public Criteria andProNameEqualTo(String value) {
            addCriterion("PRO_NAME =", value, "proName");
            return (Criteria) this;
        }

        public Criteria andProNameNotEqualTo(String value) {
            addCriterion("PRO_NAME <>", value, "proName");
            return (Criteria) this;
        }

        public Criteria andProNameGreaterThan(String value) {
            addCriterion("PRO_NAME >", value, "proName");
            return (Criteria) this;
        }

        public Criteria andProNameGreaterThanOrEqualTo(String value) {
            addCriterion("PRO_NAME >=", value, "proName");
            return (Criteria) this;
        }

        public Criteria andProNameLessThan(String value) {
            addCriterion("PRO_NAME <", value, "proName");
            return (Criteria) this;
        }

        public Criteria andProNameLessThanOrEqualTo(String value) {
            addCriterion("PRO_NAME <=", value, "proName");
            return (Criteria) this;
        }

        public Criteria andProNameLike(String value) {
            addCriterion("PRO_NAME like", value, "proName");
            return (Criteria) this;
        }

        public Criteria andProNameNotLike(String value) {
            addCriterion("PRO_NAME not like", value, "proName");
            return (Criteria) this;
        }

        public Criteria andProNameIn(List<String> values) {
            addCriterion("PRO_NAME in", values, "proName");
            return (Criteria) this;
        }

        public Criteria andProNameNotIn(List<String> values) {
            addCriterion("PRO_NAME not in", values, "proName");
            return (Criteria) this;
        }

        public Criteria andProNameBetween(String value1, String value2) {
            addCriterion("PRO_NAME between", value1, value2, "proName");
            return (Criteria) this;
        }

        public Criteria andProNameNotBetween(String value1, String value2) {
            addCriterion("PRO_NAME not between", value1, value2, "proName");
            return (Criteria) this;
        }

        public Criteria andProDateIsNull() {
            addCriterion("PRO_DATE is null");
            return (Criteria) this;
        }

        public Criteria andProDateIsNotNull() {
            addCriterion("PRO_DATE is not null");
            return (Criteria) this;
        }

        public Criteria andProDateEqualTo(Date value) {
            addCriterion("PRO_DATE =", value, "proDate");
            return (Criteria) this;
        }

        public Criteria andProDateNotEqualTo(Date value) {
            addCriterion("PRO_DATE <>", value, "proDate");
            return (Criteria) this;
        }

        public Criteria andProDateGreaterThan(Date value) {
            addCriterion("PRO_DATE >", value, "proDate");
            return (Criteria) this;
        }

        public Criteria andProDateGreaterThanOrEqualTo(Date value) {
            addCriterion("PRO_DATE >=", value, "proDate");
            return (Criteria) this;
        }

        public Criteria andProDateLessThan(Date value) {
            addCriterion("PRO_DATE <", value, "proDate");
            return (Criteria) this;
        }

        public Criteria andProDateLessThanOrEqualTo(Date value) {
            addCriterion("PRO_DATE <=", value, "proDate");
            return (Criteria) this;
        }

        public Criteria andProDateIn(List<Date> values) {
            addCriterion("PRO_DATE in", values, "proDate");
            return (Criteria) this;
        }

        public Criteria andProDateNotIn(List<Date> values) {
            addCriterion("PRO_DATE not in", values, "proDate");
            return (Criteria) this;
        }

        public Criteria andProDateBetween(Date value1, Date value2) {
            addCriterion("PRO_DATE between", value1, value2, "proDate");
            return (Criteria) this;
        }

        public Criteria andProDateNotBetween(Date value1, Date value2) {
            addCriterion("PRO_DATE not between", value1, value2, "proDate");
            return (Criteria) this;
        }

        public Criteria andProStateIsNull() {
            addCriterion("PRO_STATE is null");
            return (Criteria) this;
        }

        public Criteria andProStateIsNotNull() {
            addCriterion("PRO_STATE is not null");
            return (Criteria) this;
        }

        public Criteria andProStateEqualTo(Integer value) {
            addCriterion("PRO_STATE =", value, "proState");
            return (Criteria) this;
        }

        public Criteria andProStateNotEqualTo(Integer value) {
            addCriterion("PRO_STATE <>", value, "proState");
            return (Criteria) this;
        }

        public Criteria andProStateGreaterThan(Integer value) {
            addCriterion("PRO_STATE >", value, "proState");
            return (Criteria) this;
        }

        public Criteria andProStateGreaterThanOrEqualTo(Integer value) {
            addCriterion("PRO_STATE >=", value, "proState");
            return (Criteria) this;
        }

        public Criteria andProStateLessThan(Integer value) {
            addCriterion("PRO_STATE <", value, "proState");
            return (Criteria) this;
        }

        public Criteria andProStateLessThanOrEqualTo(Integer value) {
            addCriterion("PRO_STATE <=", value, "proState");
            return (Criteria) this;
        }

        public Criteria andProStateIn(List<Integer> values) {
            addCriterion("PRO_STATE in", values, "proState");
            return (Criteria) this;
        }

        public Criteria andProStateNotIn(List<Integer> values) {
            addCriterion("PRO_STATE not in", values, "proState");
            return (Criteria) this;
        }

        public Criteria andProStateBetween(Integer value1, Integer value2) {
            addCriterion("PRO_STATE between", value1, value2, "proState");
            return (Criteria) this;
        }

        public Criteria andProStateNotBetween(Integer value1, Integer value2) {
            addCriterion("PRO_STATE not between", value1, value2, "proState");
            return (Criteria) this;
        }

        public Criteria andProManagerIdIsNull() {
            addCriterion("PRO_MANAGER_ID is null");
            return (Criteria) this;
        }

        public Criteria andProManagerIdIsNotNull() {
            addCriterion("PRO_MANAGER_ID is not null");
            return (Criteria) this;
        }

        public Criteria andProManagerIdEqualTo(Integer value) {
            addCriterion("PRO_MANAGER_ID =", value, "proManagerId");
            return (Criteria) this;
        }

        public Criteria andProManagerIdNotEqualTo(Integer value) {
            addCriterion("PRO_MANAGER_ID <>", value, "proManagerId");
            return (Criteria) this;
        }

        public Criteria andProManagerIdGreaterThan(Integer value) {
            addCriterion("PRO_MANAGER_ID >", value, "proManagerId");
            return (Criteria) this;
        }

        public Criteria andProManagerIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("PRO_MANAGER_ID >=", value, "proManagerId");
            return (Criteria) this;
        }

        public Criteria andProManagerIdLessThan(Integer value) {
            addCriterion("PRO_MANAGER_ID <", value, "proManagerId");
            return (Criteria) this;
        }

        public Criteria andProManagerIdLessThanOrEqualTo(Integer value) {
            addCriterion("PRO_MANAGER_ID <=", value, "proManagerId");
            return (Criteria) this;
        }

        public Criteria andProManagerIdIn(List<Integer> values) {
            addCriterion("PRO_MANAGER_ID in", values, "proManagerId");
            return (Criteria) this;
        }

        public Criteria andProManagerIdNotIn(List<Integer> values) {
            addCriterion("PRO_MANAGER_ID not in", values, "proManagerId");
            return (Criteria) this;
        }

        public Criteria andProManagerIdBetween(Integer value1, Integer value2) {
            addCriterion("PRO_MANAGER_ID between", value1, value2, "proManagerId");
            return (Criteria) this;
        }

        public Criteria andProManagerIdNotBetween(Integer value1, Integer value2) {
            addCriterion("PRO_MANAGER_ID not between", value1, value2, "proManagerId");
            return (Criteria) this;
        }

        public Criteria andProTeamIdIsNull() {
            addCriterion("PRO_TEAM_ID is null");
            return (Criteria) this;
        }

        public Criteria andProTeamIdIsNotNull() {
            addCriterion("PRO_TEAM_ID is not null");
            return (Criteria) this;
        }

        public Criteria andProTeamIdEqualTo(Integer value) {
            addCriterion("PRO_TEAM_ID =", value, "proTeamId");
            return (Criteria) this;
        }

        public Criteria andProTeamIdNotEqualTo(Integer value) {
            addCriterion("PRO_TEAM_ID <>", value, "proTeamId");
            return (Criteria) this;
        }

        public Criteria andProTeamIdGreaterThan(Integer value) {
            addCriterion("PRO_TEAM_ID >", value, "proTeamId");
            return (Criteria) this;
        }

        public Criteria andProTeamIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("PRO_TEAM_ID >=", value, "proTeamId");
            return (Criteria) this;
        }

        public Criteria andProTeamIdLessThan(Integer value) {
            addCriterion("PRO_TEAM_ID <", value, "proTeamId");
            return (Criteria) this;
        }

        public Criteria andProTeamIdLessThanOrEqualTo(Integer value) {
            addCriterion("PRO_TEAM_ID <=", value, "proTeamId");
            return (Criteria) this;
        }

        public Criteria andProTeamIdIn(List<Integer> values) {
            addCriterion("PRO_TEAM_ID in", values, "proTeamId");
            return (Criteria) this;
        }

        public Criteria andProTeamIdNotIn(List<Integer> values) {
            addCriterion("PRO_TEAM_ID not in", values, "proTeamId");
            return (Criteria) this;
        }

        public Criteria andProTeamIdBetween(Integer value1, Integer value2) {
            addCriterion("PRO_TEAM_ID between", value1, value2, "proTeamId");
            return (Criteria) this;
        }

        public Criteria andProTeamIdNotBetween(Integer value1, Integer value2) {
            addCriterion("PRO_TEAM_ID not between", value1, value2, "proTeamId");
            return (Criteria) this;
        }

        public Criteria andProIntroduceIsNull() {
            addCriterion("PRO_INTRODUCE is null");
            return (Criteria) this;
        }

        public Criteria andProIntroduceIsNotNull() {
            addCriterion("PRO_INTRODUCE is not null");
            return (Criteria) this;
        }

        public Criteria andProIntroduceEqualTo(String value) {
            addCriterion("PRO_INTRODUCE =", value, "proIntroduce");
            return (Criteria) this;
        }

        public Criteria andProIntroduceNotEqualTo(String value) {
            addCriterion("PRO_INTRODUCE <>", value, "proIntroduce");
            return (Criteria) this;
        }

        public Criteria andProIntroduceGreaterThan(String value) {
            addCriterion("PRO_INTRODUCE >", value, "proIntroduce");
            return (Criteria) this;
        }

        public Criteria andProIntroduceGreaterThanOrEqualTo(String value) {
            addCriterion("PRO_INTRODUCE >=", value, "proIntroduce");
            return (Criteria) this;
        }

        public Criteria andProIntroduceLessThan(String value) {
            addCriterion("PRO_INTRODUCE <", value, "proIntroduce");
            return (Criteria) this;
        }

        public Criteria andProIntroduceLessThanOrEqualTo(String value) {
            addCriterion("PRO_INTRODUCE <=", value, "proIntroduce");
            return (Criteria) this;
        }

        public Criteria andProIntroduceLike(String value) {
            addCriterion("PRO_INTRODUCE like", value, "proIntroduce");
            return (Criteria) this;
        }

        public Criteria andProIntroduceNotLike(String value) {
            addCriterion("PRO_INTRODUCE not like", value, "proIntroduce");
            return (Criteria) this;
        }

        public Criteria andProIntroduceIn(List<String> values) {
            addCriterion("PRO_INTRODUCE in", values, "proIntroduce");
            return (Criteria) this;
        }

        public Criteria andProIntroduceNotIn(List<String> values) {
            addCriterion("PRO_INTRODUCE not in", values, "proIntroduce");
            return (Criteria) this;
        }

        public Criteria andProIntroduceBetween(String value1, String value2) {
            addCriterion("PRO_INTRODUCE between", value1, value2, "proIntroduce");
            return (Criteria) this;
        }

        public Criteria andProIntroduceNotBetween(String value1, String value2) {
            addCriterion("PRO_INTRODUCE not between", value1, value2, "proIntroduce");
            return (Criteria) this;
        }

        public Criteria andProBelongIsNull() {
            addCriterion("PRO_BELONG is null");
            return (Criteria) this;
        }

        public Criteria andProBelongIsNotNull() {
            addCriterion("PRO_BELONG is not null");
            return (Criteria) this;
        }

        public Criteria andProBelongEqualTo(Integer value) {
            addCriterion("PRO_BELONG =", value, "proBelong");
            return (Criteria) this;
        }

        public Criteria andProBelongNotEqualTo(Integer value) {
            addCriterion("PRO_BELONG <>", value, "proBelong");
            return (Criteria) this;
        }

        public Criteria andProBelongGreaterThan(Integer value) {
            addCriterion("PRO_BELONG >", value, "proBelong");
            return (Criteria) this;
        }

        public Criteria andProBelongGreaterThanOrEqualTo(Integer value) {
            addCriterion("PRO_BELONG >=", value, "proBelong");
            return (Criteria) this;
        }

        public Criteria andProBelongLessThan(Integer value) {
            addCriterion("PRO_BELONG <", value, "proBelong");
            return (Criteria) this;
        }

        public Criteria andProBelongLessThanOrEqualTo(Integer value) {
            addCriterion("PRO_BELONG <=", value, "proBelong");
            return (Criteria) this;
        }

        public Criteria andProBelongIn(List<Integer> values) {
            addCriterion("PRO_BELONG in", values, "proBelong");
            return (Criteria) this;
        }

        public Criteria andProBelongNotIn(List<Integer> values) {
            addCriterion("PRO_BELONG not in", values, "proBelong");
            return (Criteria) this;
        }

        public Criteria andProBelongBetween(Integer value1, Integer value2) {
            addCriterion("PRO_BELONG between", value1, value2, "proBelong");
            return (Criteria) this;
        }

        public Criteria andProBelongNotBetween(Integer value1, Integer value2) {
            addCriterion("PRO_BELONG not between", value1, value2, "proBelong");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}